<?php
class XistsLoginForm extends sfForm
{
  public function configure()
  {

	$this->validatorSchema->setOption('allow_extra_fields', true);

    $this->setWidgets(array(
      'username' => new sfWidgetFormInput(), 
      'password' => new sfWidgetFormInputPassword() 
    ));

    $this->widgetSchema->setNameFormat('login[%s]');

  }
}
